export interface IGetGenTableRes {
	data: {
		info: {
			tableName: string
			tableComment: string
			className: string
			functionAuthor: string
			remark: string

			tplWebType?: string
		}
		rows: any[]
		tables: any[]
	}
}

export interface GenQueryParams {
	tableName: string
	tableComment: string
	'params[beginTime]'?: string
	'params[endTime]'?: string
}

export interface GenList {
	tableId: string
	tableName: string
	tableComment: string
	className: string
	createTime: string
	updateTime: string
}

export interface IGenBatchGenCode {
	tables: string
}

export interface IGenBatchGenCodeRes {
	filename: string
	data: Blob
}

export interface IGetDbList {
	tableName: string
	tableComment: string
}

export interface IGetDbListRes {
	total: string
	rows: any[]
}

export interface DBList {
	tableName: string
	tableComment: string
	createTime: string
	updateTime: string
}
